export const immageerror = {
  inserted(dom, binding) {
    dom.src = dom.src || binding.value
    dom.onerror = function() {
      console.log('图片出错了')
      this.src = binding.value
    }
  }
}
